package com.qi.springcloud.registercenter.config;

/*import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;*/


/**
 * 需要禁用csrf（跨站请求伪造）保护，否则eureka client 会注册失败
 */
/*@Configuration
public class WebSecurityConfig  extends WebSecurityConfigurerAdapter {

    @Override
    protected void configure(HttpSecurity http) throws Exception {
        super.configure(http);
        http.csrf().disable();
    }

}*/

public class WebSecurityConfig {}
